/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/idenger">idenger</a> All rights reserved.
 */
package com.idenger.modules.edu.entity.enrolldetails;

import com.idenger.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 报名详情Entity
 * @author 兰正军
 * @version 2017-12-12
 */
public class EduEnrollDetails extends DataEntity<EduEnrollDetails> {
	
	private static final long serialVersionUID = 1L;
	private String orderId;		// 订单id
	private String haveJobTitle;		// 是否拥有职称0没有  1有
	private String jobTitleName;		// 职称名称
	private String jobTitleLevel;		// 职称等级（无、初级、中级、高级）
	private String educationLevel;		// 学历
	private String graduateCollege;		// 毕业院校
	private String major;		// 专业
	private String companyName;		// 工作单位名称
	private String companyNature;		// 单位性质
	private String isShanghaiFamilyRegister;		// 是否是上海户籍0不是  1是
	private String idCard;//身份证
	
	public EduEnrollDetails() {
		super();
	}

	public EduEnrollDetails(String id){
		super(id);
	}

	
	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	@Length(min=0, max=2, message="是否拥有职称0没有  1有长度必须介于 0 和 2 之间")
	public String getHaveJobTitle() {
		return haveJobTitle;
	}

	public void setHaveJobTitle(String haveJobTitle) {
		this.haveJobTitle = haveJobTitle;
	}
	
	@Length(min=0, max=64, message="职称名称长度必须介于 0 和 64 之间")
	public String getJobTitleName() {
		return jobTitleName;
	}

	public void setJobTitleName(String jobTitleName) {
		this.jobTitleName = jobTitleName;
	}
	
	@Length(min=0, max=64, message="职称等级（无、初级、中级、高级）长度必须介于 0 和 64 之间")
	public String getJobTitleLevel() {
		return jobTitleLevel;
	}

	public void setJobTitleLevel(String jobTitleLevel) {
		this.jobTitleLevel = jobTitleLevel;
	}
	
	@Length(min=0, max=64, message="学历长度必须介于 0 和 64 之间")
	public String getEducationLevel() {
		return educationLevel;
	}

	public void setEducationLevel(String educationLevel) {
		this.educationLevel = educationLevel;
	}
	
	@Length(min=0, max=64, message="毕业院校长度必须介于 0 和 64 之间")
	public String getGraduateCollege() {
		return graduateCollege;
	}

	public void setGraduateCollege(String graduateCollege) {
		this.graduateCollege = graduateCollege;
	}
	
	@Length(min=0, max=64, message="专业长度必须介于 0 和 64 之间")
	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}
	
	@Length(min=0, max=64, message="工作单位名称长度必须介于 0 和 64 之间")
	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	
	@Length(min=0, max=64, message="单位性质长度必须介于 0 和 64 之间")
	public String getCompanyNature() {
		return companyNature;
	}

	public void setCompanyNature(String companyNature) {
		this.companyNature = companyNature;
	}
	
	@Length(min=0, max=2, message="是否是上海户籍0不是  1是长度必须介于 0 和 2 之间")
	public String getIsShanghaiFamilyRegister() {
		return isShanghaiFamilyRegister;
	}

	public void setIsShanghaiFamilyRegister(String isShanghaiFamilyRegister) {
		this.isShanghaiFamilyRegister = isShanghaiFamilyRegister;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	
}